package com.shuda.business.crm.service;

import com.shuda.business.crm.entity.CustomerStatusHistoryEntity;
import com.shuda.common.core.domain.PageDTO;
import com.shuda.common.core.domain.PageResult;

/**
 * 客户状态历史记录服务接口
 */
public interface CustomerStatusHistoryService {

    /**
     * 获取客户状态历史记录分页列表
     */
    PageResult<CustomerStatusHistoryEntity> getCustomerStatusHistoryPage(PageDTO pageDTO, Long customerId);

    /**
     * 创建客户状态历史记录
     */
    CustomerStatusHistoryEntity createCustomerStatusHistory(CustomerStatusHistoryEntity historyEntity);

    /**
     * 根据客户ID获取状态历史记录
     */
    PageResult<CustomerStatusHistoryEntity> getStatusHistoryByCustomerId(PageDTO pageDTO, Long customerId);
}